function drawCubeObject(cubeInfo,pellucidity,colorMatCube)
%画长方体的函数
if cubeInfo.exist
    for k1=1:size(cubeInfo.axisX,2)
        %   * EDGES : 3-elements vector that defines the length of cube edges
        %   * ORIGIN: 3-elements vector that defines the start point of the cube
        %   * ALPHA : scalar that defines the transparency of the cube faces (from 0 to 1)
        %   * COLOR : 3-elements vector that defines the faces color of the cube
        edges=[cubeInfo.length(k1) cubeInfo.width(k1) cubeInfo.height(k1)];
        origin=[cubeInfo.axisX(k1) cubeInfo.axisY(k1) cubeInfo.axisZ(k1)];
        plotcube(edges,origin,pellucidity,colorMatCube);
    end
end
end

